package com.xuebang.admin.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table
public class OperatorRules {
	
	public static final Long PERM_RESOURCE_MONITOR = 1L; //资源监控
	public static final Long PERM_RESOURCE_DISPATCH = 21L; //资源分配
	public static final Long PERM_RESOURCE_IMAGES = 24L; //镜像管理
	public static final Long PERM_RESOURCE_DISCOVERY = 23L; //资源发现
	public static final Long PERM_RESOURCE_ASSETS = 22L; //资产管理
	public static final Long PERM_MONITOR_QUERY = 31L; //监控数据查询
	public static final Long PERM_EVENT_QUERY = 41L; //事件查询
	public static final Long PERM_EVENT_WITHE = 42L; //事件策略

	public static final Long PERM_RESOURCE_IPPOOL = 25L; //地址池管理
	public static final Long PERM_ACCOUNT = 51L; //账号管理
	public static final Long PERM_OPERATOR = 52L; //用户管理
	public static final Long PERM_ROLE = 53L; //角色管理
	public static final Long PERM_FRIEND = 54L; //合作管理
	public static final Long PERM_COLUMN=55L; //栏目管理
	public static final Long PERM_SLIDE=56L; //幻灯片管理
	public static final Long PERM_AD=57L; //公告管理
	public static final Long PERM_ARTICLE=58L; //文章管理
	public static final Long PERM_SUGGEST=59L; //问题管理
	/** 增加栏目管理 20140211(add by xy) end */ 

	@Id
	private Long ruleId;
	
	@Column
	private String ruleName;

	public Long getRuleId() {
		return ruleId;
	}

	public void setRuleId(Long ruleId) {
		this.ruleId = ruleId;
	}

	public String getRuleName() {
		return ruleName;
	}

	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}
	
}
